package cn.nyse.ktc_spit.entity;

import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 点赞记录
 */
@Document
public class Thumbup {

    private String id;//主键

    private String userid;// 谁点赞的

    private String spitid;// 点赞了哪条spit

    @Override
    public String toString() {
        return "Thumbup{" +
                "id='" + id + '\'' +
                ", userid='" + userid + '\'' +
                ", spitid='" + spitid + '\'' +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getSpitid() {
        return spitid;
    }

    public void setSpitid(String spitid) {
        this.spitid = spitid;
    }
}
